﻿using HomeCloudStorageSystem.Dtos;
using HomeCloudStorageSystem.Models;

namespace HomeCloudStorageSystem.Services
{
    public interface IFileDirectoryRepository                              
    {
        IEnumerable<FilesAndDirectorysDto> GetFileDirectorys(int? parentId);
        FileDirectory GetFileDirectoryById(int id);
        string AddFileDirectory(FileDirectoryForCreationDto fileDirectoryForCreationDto);
        string RemoveFileDirectory(FileDirectory fileDirectory);
        bool Save();
    }
}
